package com.hxy.health.platform.dao;

import com.hxy.health.platform.pojo.Product;

import java.util.List;

public interface ProductMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Product record);

    int insertSelective(Product record);

    Product selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Product record);

    int updateByPrimaryKey(Product record);

    List<Product> getAll();

    List<Product> getNewProduct();

    List<Product> searchProduct( String productName);
}